LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE :=librtmp
LOCAL_CFLAGS += -DUSE_POLARSSL

LOCAL_C_INCLUDES += \
		$(LOCAL_PATH)/ \
		$(LOCAL_PATH)/../third_party/android/polarssl/include

LOCAL_SRC_FILES = \
		amf.c \
		hashswf.c \
		log.c \
		parseurl.c \
		rtmp.c

LOCAL_ARM_MODE :=arm

LOCAL_LDLIBS := -lz

LOCAL_STATIC_LIBRARIES := libpolarssl

include $(BUILD_SHARED_LIBRARY)